﻿<%@ Page Language="C#" MasterPageFile="~/defaultLayout.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>
<%@ MasterType  virtualPath="~/defaultLayout.master"%>
<asp:Content ID="maincontent" ContentPlaceHolderID="main" runat="server">
    <div class="content">
        <div class="loginPageContainer">
            <asp:Label ID="lblMessage" runat="server" CssClass="loginMessage" />
            <div>
               <a id="registerContainer" href="javascript:loginRB('registerContainer');"> <asp:Label ID="lblRegister" runat="server" /></a>
                |
               <a id="loginContainer" href="javascript:loginRB('loginContainer');"><asp:Label ID="lblLogin" runat="server" /></a>
            </div>

            <div class="registerContainer">
                <table>
                    <tr>
                        <td>
                            <asp:Label ID="lblFirstname" runat="server" Text="Voornaam" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtFirstname" runat="server" />*
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblInsertion" runat="server" Text="Tussenvoegsel" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtInsertion" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblLastname" runat="server" Text="Achternaam" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtLastname" runat="server" />*
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblRegUsername" runat="server" Text="Gebruikersnaam" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtRegUsername" runat="server" />*
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblRegPassword" runat="server" Text="Wachtwoord" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtRegPassword" runat="server" TextMode="Password" />*
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblRegPasswordConfirm" runat="server" Text="Bevestig wachtwoord" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtRegPasswordConfirm" runat="server" TextMode="Password" />*
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblEmail" runat="server" Text="Emailadress" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtEmail" runat="server" TextMode="Email" />*
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblBirthdate" runat="server" Text="Geboortedatum" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtBirthdate" runat="server" TextMode="Date" />*
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblStreetname" runat="server" Text="Straatnaam" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtStreetname" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblHouseNumber" runat="server" Text="Huisnummer" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtHouseNumber" runat="server" TextMode="Number" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblZip" runat="server" Text="Postcode" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtZip" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblSex" runat="server" Text="Geslacht" />
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlSex" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblLanguage" runat="server" Text="Taal" />
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLanguage" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:CheckBox ID="cbNewsletter" runat="server" Text="Nieuwsbrief ontvangen" Checked="true" />
                        </td>
                        <td>
                            <asp:Button ID="btnRegister" runat="server" OnClick="btnRegister_Click" Text="Register" />
                        </td>
                    </tr>
                </table>
            </div>

            <div class="loginContainer">
                <asp:Panel ID="p" runat="server" DefaultButton="btnLogin">
                <table>
                    <tr>
                        <td>
                            <asp:Label ID="lblUsername" runat="server" Text="Gebruikersnaam" />
                        </td>
                        <td>
                             <asp:TextBox ID="txtUsername" runat="server" ToolTip="Gebruikersnaam" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblPassword" runat="server" Text="Wachtwoord" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" ToolTip="Wachtwoord" />
                        </td>
                    </tr>
                    <tr>
                        <td>

                        </td>
                        <td>
                            <asp:Button ID="btnLogin" OnClick="btnLogin_Click" runat="server" Text="Login" />
                        </td>
                    </tr>
                </table>
                </asp:Panel>
            </div>
        </div>
    </div>
</asp:Content>